package com.hzdesk.media.matvector.koreabatch.client.my_paperless.adapter;

import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;



import java.util.List;

/**
 * Created by Administrator on 2018/8/13.
 * 杭州席媒科技有限公司  Developers  刘传华  10
 * 佛祖镇楼 bug辟易
 */

public class MyOrganizationAdapter extends FragmentPagerAdapter {
    private Context context;
    private List<Fragment> mlist;

    public MyOrganizationAdapter(FragmentManager supportFragmentManager, Context mContext, List<Fragment> list) {
        super(supportFragmentManager);
        mlist = list;
        context = mContext;
    }


    @Override
    public Fragment getItem(int position) {
        return mlist.get(position);
    }

    @Override
    public int getCount() {
        return mlist.size();
    }
}
